﻿/* This selector is used to prevent ui-dark/light.css from overwriting changes
   to .win-surface. */
.groupdetailpage .itemslist .win-horizontal.win-viewport .win-surface {
    margin-left: 120px;
    margin-bottom: 20px;
}

.groupdetailpage .itemslist {
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 0;
}

    .groupdetailpage .itemslist .win-groupheader {
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto 1fr;
        display: -ms-grid;
        height: 100%;
        margin-left: 0px;
        margin-right: 68px;
        padding: 0;
        width: 480px;
    }

        .groupdetailpage .itemslist .win-groupheader .group-subtitle {
            -ms-grid-row: 1;
            margin-bottom: 14px;
            margin-top: 6px;
            max-height: 48pt;
            overflow: hidden;
        }

        .groupdetailpage .itemslist .win-groupheader .group-image {
            -ms-grid-row: 2;
            background-color: rgba(147, 149, 152, 1);
            height: 238px;
            margin: 0;
            margin-bottom: 20px;
            width: 480px;
        }

        .groupdetailpage .itemslist .win-groupheader .group-description {
            -ms-grid-row: 3;
            margin-bottom: 55px;
            overflow: hidden;
        }

    .groupdetailpage .itemslist .win-item {
        -ms-grid-columns: 110px 1fr;
        -ms-grid-rows: 1fr;
        display: -ms-grid;
        height: 110px;
        width: 472px;
    }

        .groupdetailpage .itemslist .win-item .item-info {
            -ms-grid-column: 2;
            margin-left: 10px;
        }

            .groupdetailpage .itemslist .win-item .item-info .item-title {
                margin-top: 4px;
                max-height: 20px;
                overflow: hidden;
            }

            .groupdetailpage .itemslist .win-item .item-info .item-subtitle {
                opacity: 0.6;
            }

            .groupdetailpage .itemslist .win-item .item-info .item-description {
                max-height: 60px;
                overflow: hidden;
            }

    .groupdetailpage .itemslist .win-container {
        margin-bottom: 15px;
        margin-right: 60px;
        padding: 7px;
    }

@media screen and (-ms-view-state: snapped) {

    .groupdetailpage .itemslist .win-vertical.win-viewport .win-surface {
        margin-bottom: 30px;
        margin-left: 6px;
    }

    .groupdetailpage .itemslist .win-groupheader {
        visibility: hidden;
    }

    .groupdetailpage .itemslist .win-container {
        margin-right: 42px;
    }

    .groupdetailpage .itemslist .win-item {
        -ms-grid-columns: 60px 1fr;
        height: 60px;
        width: 272px;
    }

        .groupdetailpage .itemslist .win-item .item-info .item-title {
            max-height: 30pt;
        }

        .groupdetailpage .itemslist .win-item .item-info .item-description {
            visibility: hidden;
        }
}

@media screen and (-ms-view-state: fullscreen-portrait) {
    .groupdetailpage .itemslist .win-horizontal.win-viewport .win-surface {
        margin-left: 100px;
    }
}
